package TestDemo;

import java.util.concurrent.atomic.AtomicInteger;

public class TestDemo6 {
    private synchronized static void func() {
        func1();
    }
    private synchronized static void func1() {

    }

    public static void main(String[] args) {
        AtomicInteger atomicInteger = new AtomicInteger();
    }

    public static void main1(String[] args) {
        func();
    }
}
